package com.zzb.weixin.model.datacube;
import com.zzb.weixin.constant.WXJsonName;
import com.zzb.weixin.json.JsonObject;
/**
 * 图文消息统计数据结构
 * @author user
 *
 */
public class ImageTextArticle {
	private int intPageReadUser;//图文页（点击群发图文卡片进入的页面）的阅读人数
	private int intPageReadCount;//图文页的阅读次数
	private int oriPageReadUser;//原文页（点击图文页“阅读原文”进入的页面）的阅读人数，无原文页时此处数据为0
	private int oriPageReadCount;//原文页的阅读次数
	private int shareUser;//分享的人数
	private int shareCount;//分享的次数
	private int addToFavUser;//收藏的人数
	private int addToFavCount;//收藏的次数
	
	public ImageTextArticle(JsonObject jo) {
		intPageReadUser = jo.getAsInt(WXJsonName.INT_PAGE_READ_USER);
		intPageReadCount = jo.getAsInt(WXJsonName.INT_PAGE_READ_COUNT);
		oriPageReadUser = jo.getAsInt(WXJsonName.ORI_PAGE_READ_USER);
		oriPageReadCount = jo.getAsInt(WXJsonName.ORI_PAGE_READ_COUNT);
		shareUser = jo.getAsInt(WXJsonName.SHARE_USER);
		shareCount = jo.getAsInt(WXJsonName.SHARE_COUNT);
		addToFavUser = jo.getAsInt(WXJsonName.ADD_TO_FAV_USER);
		addToFavCount = jo.getAsInt(WXJsonName.ADD_TO_FAV_COUNT);
	}
	public int getIntPageReadUser() {
		return intPageReadUser;
	}
	public void setIntPageReadUser(int intPageReadUser) {
		this.intPageReadUser = intPageReadUser;
	}
	public int getIntPageReadCount() {
		return intPageReadCount;
	}
	public void setIntPageReadCount(int intPageReadCount) {
		this.intPageReadCount = intPageReadCount;
	}
	public int getOriPageReadUser() {
		return oriPageReadUser;
	}
	public void setOriPageReadUser(int oriPageReadUser) {
		this.oriPageReadUser = oriPageReadUser;
	}
	public int getOriPageReadCount() {
		return oriPageReadCount;
	}
	public void setOriPageReadCount(int oriPageReadCount) {
		this.oriPageReadCount = oriPageReadCount;
	}
	public int getShareUser() {
		return shareUser;
	}
	public void setShareUser(int shareUser) {
		this.shareUser = shareUser;
	}
	public int getShareCount() {
		return shareCount;
	}
	public void setShareCount(int shareCount) {
		this.shareCount = shareCount;
	}
	public int getAddToFavUser() {
		return addToFavUser;
	}
	public void setAddToFavUser(int addToFavUser) {
		this.addToFavUser = addToFavUser;
	}
	public int getAddToFavCount() {
		return addToFavCount;
	}
	public void setAddToFavCount(int addToFavCount) {
		this.addToFavCount = addToFavCount;
	}
}
